package nc.ui.ic.periodstart;

import nc.ui.trade.bill.AbstractManageController;
import nc.ui.trade.button.IBillButton;
import nc.vo.ca.account.NumAccountMAggVO;
import nc.vo.ca.account.NumAccountMHVO;
import nc.vo.ca.account.NumAccountMVO;
import nc.vo.jx.pub.IButton;
import nc.vo.jx.pub.JxPubConst;

public class CaAccountMCtrl extends AbstractManageController {

	public int[] getCardButtonAry() {
		int[] buttonArray = new int[] {
				// IBillButton.Busitype,
				 IBillButton.Add,
				IButton.btn_numaccountm_import, IBillButton.Edit,
				IBillButton.Save, IBillButton.Cancel, IBillButton.Query,
				// IBillButton.Action,
				IBillButton.Delete, IBillButton.Line, IBillButton.Brow,
				IBillButton.Refresh, IBillButton.Return,
		// IBillButton.Print,
		};
		return buttonArray;
	}

	public int[] getListButtonAry() {
		int[] buttonArray = new int[] {
				// IBillButton.Busitype,
				 IBillButton.Add,
				IButton.btn_numaccountm_import, IBillButton.Edit,
				IBillButton.Save, IBillButton.Cancel, IBillButton.Query,
				// IBillButton.Action,
				IBillButton.Delete, IBillButton.Line, IBillButton.Brow,
				IBillButton.Refresh, IBillButton.Card,
		// IBillButton.Print,
		};
		return buttonArray;
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public String getBillType() {
		return JxPubConst.BILL_TYPE_CAACCOUNTM;
	}

	public String[] getBillVoName() {
		return new String[] { NumAccountMAggVO.class.getName(),
				NumAccountMHVO.class.getName(), NumAccountMVO.class.getName() };
	}

	public String getBodyCondition() {
		return null;
	}

	public int getBusinessActionType() {
		return nc.ui.trade.businessaction.IBusinessActionType.BD;
	}

	public String getChildPkField() {
		return "cnumaccountid";
	}

	public String getPkField() {
		return "cnumaccounthid";
	}

	public Boolean isEditInGoing() throws Exception {
		return false;
	}

	public boolean isExistBillStatus() {
		return false;
	}

	public boolean isLoadCardFormula() {
		return true;
	}

	public boolean isShowListRowNo() {
		return true;
	}

	public String[] getCardBodyHideCol() {
		return null;
	}

	public boolean isShowCardTotal() {
		return false;
	}

	public String getBodyZYXKey() {

		return null;
	}

	public String getHeadZYXKey() {

		return null;
	}

	public String[] getListBodyHideCol() {

		return null;
	}

	public String[] getListHeadHideCol() {

		return null;
	}

	public boolean isShowListTotal() {
		return false;
	}
}
